<!--
  @author heguanghua
  @since 2019/06/12 19:34
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<table class="layui-hide" id="zmn-table" lay-filter="zmn-table" th:fragment="table">
    <thead>
    <tr>
        <th lay-data="{field:'createTime', width:220, unresize:true, align:'center'}">操作时间</th>
        <th lay-data="{field:'content', unresize:true, align:'center'}">操作内容</th>
        <th lay-data="{field:'deptAndCreator', width:180, unresize:true, align:'center', fixed:'right'}">操作员</th>
    </tr>
    </thead>

    <tbody>
    <tr th:each="item:${items}">
        <td th:text="${(item.createTime==null?'':#dates.format(item.createTime, 'yyyy-MM-dd HH:mm:ss'))}">createTime</td>
        <td th:text="${item.content}" class="">content</td>
        <td th:text="${item.deptName + '-' + item.creater}" class="">deptAndCreater</td>
    </tr>
    </tbody>
</table>
